package com.wang.cloud.common.auth.exception;


import com.wang.cloud.common.core.api.ApiResultCode;
import com.wang.cloud.common.core.exception.ServiceException;

/**
 * 未登录或登录已过期的异常
 *
 * @author wangye
 * @date 2023/8/1 0001
 */
public class UnLoginException extends ServiceException {
    public UnLoginException(String message) {
        super(message, ApiResultCode.HTTP_UNAUTHORIZED);
    }

    public UnLoginException(String message, Integer code) {
        super(message, code);
    }

    public UnLoginException(String message, Throwable e) {
        super(message, e);
    }
}
